<!DOCTYPE html>

<html lang="en">

<head>
	<meta charset="UTF-8">
	<title>注册</title>
	<!-- 使用boot strap和font awrsome -->
	<link rel="stylesheet" href="/static/bootstrap-3.4.1-dist/css/bootstrap.css" />
	<link rel="stylesheet" href="/static/font-awesome-4.7.0/css/font-awesome.css" />
</head>

<body>

	<!-- 导航栏 -->
	<nav class="navbar navbar-inverse">
		<div class="container">
			<!-- Brand and toggle get grouped for better mobile display -->
			<div class="navbar-header">
				<button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
					data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
					<span class="sr-only">Toggle navigation</span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</button>
				<a class="navbar-brand">水源社区</a>
			</div>

			<!-- Collect the nav links, forms, and other content for toggling -->
			<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
				<ul class="nav navbar-nav">
					<li class="active">
						<a href="#">客服<span class="sr-only">(current)</span>
						</a>
					</li>
					<li>
						<a href="#">加入我们</a>
					</li>
				</ul>
				<form class="navbar-form navbar-left">
					<div class="form-group">
						<input type="text" class="form-control" placeholder="请输入内容...">
					</div>
					<button type="submit" class="btn btn-default">搜索</button>
				</form>
				<ul class="nav navbar-nav navbar-right">
					<li>
						<a href="#">注册</a>
					</li>
					<li>
						<a href="#">登录</a>
					</li>
					<li class="dropdown">
						<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
							aria-expanded="false">
							用户昵称
							<span class="caret"></span>
						</a>
						<ul class="dropdown-menu">
							<li>
								<a href="#">退出登录</a>
							</li>
							<li role="separator" class="divider"></li>
							<li>
								<a href="#">消息通知</a>
							</li>
						</ul>
					</li>
				</ul>
			</div><!-- /.navbar-collapse -->
		</div><!-- /.container-fluid -->
	</nav>

	<div style="width: 500px;margin: 0 auto;">
		<form class="form-horizontal" method="post">
			<div class="form-group">
				<label class="col-sm-2 control-label">昵称:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" id="inputEmail3" placeholder="请输入昵称" name="nickname">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">密码:</label>
				<div class="col-sm-10">
					<input type="password" class="form-control" id="inputPassword3" placeholder="请输入密码" name="password">
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-2 control-label">职业:</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" placeholder="请输入职业" name="career">
				</div>
			</div>

			<div class="form-group" style="border: 0;">
				<label class="col-sm-2 control-label">性别:</label>
				<div class="form-control">
					<input type="radio" name="gender" value="男" />男
					<input type="radio" name="gender" value="女" />女
				</div>
			</div>

			<div class="form-group">
				<label for="inputPassword3" class="col-sm-2 control-label">地区</label>
				<div class="col-sm-10">
					<select class="form-control" name="region">
						<option type="text" value="北京">北京</option>
						<option type="text" value="上海">上海</option>
						<option type="text" value="广州">广州</option>
						<option type="text" value="加利福尼亚">加利福尼亚</option>
						<option type="text" value="西班牙">西班牙</option>
					</select>
				</div>
			</div>

			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary">确认注册</button>
				</div>
			</div>
		</form>
	</div>

	<!-- 使用boot strap & font awesome -->
	<script src="/static/jquery/jquery-3.6.3.min.js"></script>
	<script src="/static/bootstrap-3.4.1-dist/js/bootstrap.min.js"></script>

</body>

</html>


<!-- {% extends 'base.html' %}

{% block header %}
  <h1>{% block title %}Register{% endblock %}</h1>
{% endblock %}

{% block content %}
  <form method="post">
    <label for="username">Username</label>
    <input name="username" id="username" required>
    <label for="password">Password</label>
    <input type="password" name="password" id="password" required>
    <input type="submit" value="Register">
  </form>
{% endblock %} -->